package com.linkhub.oms.data.sync.service;

import com.linkhub.oms.data.sync.api.yunexpress.domain.request.CreateOrderRequest;
import com.linkhub.oms.data.sync.api.yunexpress.domain.request.GetTrackingNumberRequest;
import com.linkhub.oms.data.sync.api.yunexpress.domain.request.InterceptRequest;
import com.linkhub.oms.data.sync.api.yunexpress.domain.request.PriceTrialRequest;
import com.linkhub.oms.data.sync.api.yunexpress.domain.response.*;

import java.util.List;

/**
 * @Description: OMSYunExpressApiService
 * @Author: echo
 * @Date: 2024/5/27 16:46
 * @Version: 1.0
 */
public interface OMSYunExpressApiService {

    /**
     * 查询预估运费
     *
     * @param request request
     * @return response
     */
    PriceTrialResponse getPriceTrial( PriceTrialRequest request );

    InterceptResponse intercept( InterceptRequest waybillNumber );

    CreateOrderResponse createOrder( List<CreateOrderRequest> request );

    PrintOrderResponse printOrder( List<String> requests );

    GetTrackingNumberResponse getTrackingNumber( GetTrackingNumberRequest requests );

    GetOrderResponse getOrder( String requests );
}
